Solution:
stocks = ['Playway', 'CD Projekt', 'Boombit'] result = {name: len(name) for name in stocks} print(result)